package Java学习;

import java.util.*;
public class Arrays {
    public static void main(String[] args) {
        int[] arr = {3, 2, 4, 7, 1, 5};
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]);
        }
        System.out.println("");
        java.util.Arrays.sort(arr);
        System.out.println(java.util.Arrays.toString(arr));
        for (int i = 0; i < arr.length; i++) {
            System.out.print(arr[i]);
        }
    }
}
